<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('工程竣工验收备案信息列表')" />
</head>
<body class="gray-bg">
     <div class="container-div">
        <div class="row">
            <div class="col-sm-12 search-collapse">
                <form id="formId">
                    <div class="select-list">
                        <ul>
                            <li>
                                <p>工程名称：</p>
                                <input type="text" name="engineeringname"/>
                            </li>
                            <!-- <li>
                                <p>项目信息标识符：</p>
                                <input type="text" name="projectinfoguid"/>
                            </li>
                            <li>
                                <p>单位工程信息标识符：</p>
                                <input type="text" name="engineeringinfoguids"/>
                            </li>
                            <li>
                                <p>工程规模：</p>
                                <input type="text" name="engineeringscale"/>
                            </li>
                            <li>
                                <p>工程类别：</p>
                                <input type="text" name="engineeringcategory"/>
                            </li>
                            <li>
                                <p>结构类型：</p>
                                <select name="structuretype" th:with="type=${@dict.getType('')}">
                                    <option value="">所有</option>
                                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
                                </select>
                            </li>
                            <li>
                                <p>规划许可证号：</p>
                                <input type="text" name="licensenum"/>
                            </li>
                            <li>
                                <p>施工许可证号：</p>
                                <input type="text" name="constructionnum"/>
                            </li>
                            <li>
                                <p>监督注册号：</p>
                                <input type="text" name="supervisionregnum"/>
                            </li>
                            <li class="select-time">
                                <p>开工日期：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginStartdate]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endStartdate]"/>
                            </li>
                            <li class="select-time">
                                <p>竣工验收日期：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginEnddate]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endEnddate]"/>
                            </li>
                            <li>
                                <p>建设单位标识符：</p>
                                <input type="text" name="constructunitid"/>
                            </li> -->
                            <li>
                                <p>建设单位：</p>
                                <input type="text" name="constructunit"/>
                            </li>
                            <!-- <li>
                                <p>建设单位资质等级：</p>
                                <input type="text" name="contitlelevelnum"/>
                            </li>
                            <li>
                                <p>建设单位负责人：</p>
                                <input type="text" name="conlegalpersonname"/>
                            </li>
                            <li>
                                <p>建设单位联系电话：</p>
                                <input type="text" name="conlinkphone"/>
                            </li>
                            <li>
                                <p>勘察单位标识符：</p>
                                <input type="text" name="surveyunitid"/>
                            </li> -->
                            <li>
                                <p>勘察单位：</p>
                                <input type="text" name="surveyunit"/>
                            </li>
                            <!-- <li>
                                <p>勘察单位资质等级：</p>
                                <input type="text" name="surtitlelevelnum"/>
                            </li>
                            <li>
                                <p>勘察单位负责人：</p>
                                <input type="text" name="surlegalpersonname"/>
                            </li>
                            <li>
                                <p>勘察单位联系电话：</p>
                                <input type="text" name="surlinkphone"/>
                            </li>
                            <li>
                                <p>设计单位标识符：</p>
                                <input type="text" name="designunitid"/>
                            </li> -->
                            <li>
                                <p>设计单位：</p>
                                <input type="text" name="designunit"/>
                            </li>
                            <!-- <li>
                                <p>设计单位资质等级：</p>
                                <input type="text" name="destitlelevelnum"/>
                            </li>
                            <li>
                                <p>设计单位负责人：</p>
                                <input type="text" name="desconlegalpersonname"/>
                            </li>
                            <li>
                                <p>设计单位联系电话：</p>
                                <input type="text" name="deslinkphone"/>
                            </li>
                            <li>
                                <p>施工单位标识符：</p>
                                <input type="text" name="constructionunitid"/>
                            </li> -->
                            <li>
                                <p>施工单位：</p>
                                <input type="text" name="constructionunit"/>
                            </li>
                            <!-- <li>
                                <p>施工单位资质等级：</p>
                                <input type="text" name="constructitlelevelnum"/>
                            </li>
                            <li>
                                <p>施工单位负责人：</p>
                                <input type="text" name="construclegalpersonname"/>
                            </li>
                            <li>
                                <p>施工单位联系电话：</p>
                                <input type="text" name="construclinkphone"/>
                            </li>
                            <li>
                                <p>监理单位标识符：</p>
                                <input type="text" name="supervisionunitid"/>
                            </li> -->
                            <li>
                                <p>监理单位：</p>
                                <input type="text" name="supervisionunit"/>
                            </li>
                            <!-- <li>
                                <p>监理单位资质等级：</p>
                                <input type="text" name="suptitlelevelnum"/>
                            </li>
                            <li>
                                <p>监理单位负责人：</p>
                                <input type="text" name="suplegalpersonname"/>
                            </li>
                            <li>
                                <p>监理单位联系电话：</p>
                                <input type="text" name="suplinkphone"/>
                            </li> -->
                            <li>
                                <p>监督部门：</p>
                                <input type="text" name="supervisiondepart"/>
                            </li>
                            <!-- <li>
                                <p>资质等级：</p>
                                <input type="text" name="titlelevelnum"/>
                            </li>
                            <li>
                                <p>负责人：</p>
                                <input type="text" name="legalpersonname"/>
                            </li>
                            <li>
                                <p>联系电话：</p>
                                <input type="text" name="linkphone"/>
                            </li>
                            <li>
                                <p>备案证号：</p>
                                <input type="text" name="recordnumber"/>
                            </li>
                            <li>
                                <p>创建人：</p>
                                <input type="text" name="createman"/>
                            </li>
                            <li class="select-time">
                                <p>创建时间：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginCreatedate]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endCreatedate]"/>
                            </li>
                            <li class="select-time">
                                <p>最后修改时间：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginLastmodifydate]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endLastmodifydate]"/>
                            </li>
                            <li>
                                <p>上报人：</p>
                                <input type="text" name="reportman"/>
                            </li>
                            <li>
                                <p>上报人姓名：</p>
                                <input type="text" name="reportmanname"/>
                            </li>
                            <li class="select-time">
                                <p>上报时间：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginReporttime]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endReporttime]"/>
                            </li>
                            <li>
                                <p>受理人：</p>
                                <input type="text" name="acceptman"/>
                            </li>
                            <li>
                                <p>受理人姓名：</p>
                                <input type="text" name="acceptmanname"/>
                            </li>
                            <li class="select-time">
                                <p>受理时间：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginAccepttime]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endAccepttime]"/>
                            </li>
                            <li>
                                <p>审定人：</p>
                                <input type="text" name="authorizedman"/>
                            </li>
                            <li>
                                <p>审定人姓名：</p>
                                <input type="text" name="authorizedmanname"/>
                            </li>
                            <li class="select-time">
                                <p>审定时间：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginAuthorizeddate]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endAuthorizeddate]"/>
                            </li>
                            <li>
                                <p>审定结果：</p>
                                <input type="text" name="authorizedresult"/>
                            </li>
                            <li>
                                <p>审核状态：</p>
                                <input type="text" name="state"/>
                            </li>
                            <li class="select-time">
                                <p>审核时间：</p>
                                <input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginAuditdate]"/>
                                <span>-</span>
                                <input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endAuditdate]"/>
                            </li>
                            <li>
                                <p>行政主管部门：</p>
                                <input type="text" name="inchargedepartment"/>
                            </li>
                            <li>
                                <p>行政主管部门标识符：</p>
                                <input type="text" name="inchargedepartmentguid"/>
                            </li>
                            <li>
                                <p>项目：</p>
                                <input type="text" name="projectperformance"/>
                            </li>
                            <li>
                                <p>办件编号：</p>
                                <input type="text" name="bjbh"/>
                            </li> -->
                            <li>
                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
                            </li>
                        </ul>
                    </div>
                </form>
            </div>

            <div class="btn-group-sm" id="toolbar" role="group">
                <!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="supervise:CompletionRecordInfo:add">
                    <i class="fa fa-plus"></i> 添加
                </a>
                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="supervise:CompletionRecordInfo:edit">
                    <i class="fa fa-edit"></i> 修改
                </a>
                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="supervise:CompletionRecordInfo:remove">
                    <i class="fa fa-remove"></i> 删除
                </a>
                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="supervise:CompletionRecordInfo:export">
                    <i class="fa fa-download"></i> 导出
                 </a> -->
            </div>
            <div class="col-sm-12 select-table table-striped">
                <table id="bootstrap-table"></table>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var editFlag = [[${@permission.hasPermi('supervise:CompletionRecordInfo:edit')}]];
        var removeFlag = [[${@permission.hasPermi('supervise:CompletionRecordInfo:remove')}]];
        var detailFlag = [[${@permission.hasPermi('supervise:CompletionRecordInfo:detail')}]];
        var prefix = ctx + "supervise/CompletionRecordInfo";

        $(function() {
            var options = {
                url: prefix + "/list",
                createUrl: prefix + "/add",
                updateUrl: prefix + "/edit/{id}",
                removeUrl: prefix + "/remove",
                exportUrl: prefix + "/export",
                detailUrl: prefix + "/detail/{id}",
                modalName: "工程竣工验收备案信息",
                columns: [{
                    checkbox: true
                },
                {
                    field : 'guid', 
                    title : '唯一标识符',
                    visible: false
                },
                {
                    field : 'engineeringname', 
                    title : '工程名称'
                },
                {
                    field : 'projectinfoguid', 
                    title : '项目信息标识符',
                    visible: false
                },
                {
                    field : 'engineeringinfoguids', 
                    title : '单位工程信息标识符',
                    visible: false
                },
                {
                    field : 'engineeringaddress', 
                    title : '工程地址',
                    visible: false
                },
                {
                    field : 'engineeringscale', 
                    title : '工程规模',
                    visible: false
                },
                {
                    field : 'engineeringcategory', 
                    title : '工程类别',
                    visible: false
                },
                {
                    field : 'structuretype', 
                    title : '结构类型',
                    visible: false
                },
                {
                    field : 'licensenum', 
                    title : '规划许可证号',
                    visible: false
                },
                {
                    field : 'constructionnum', 
                    title : '施工许可证号',
                    visible: false
                },
                {
                    field : 'supervisionregnum', 
                    title : '监督注册号',
                    visible: false
                },
                {
                    field : 'startdate', 
                    title : '开工日期',
                    visible: false
                },
                {
                    field : 'enddate', 
                    title : '竣工验收日期',
                    visible: false
                },
                {
                    field : 'constructunitid', 
                    title : '建设单位标识符',
                    visible: false
                },
                {
                    field : 'constructunit', 
                    title : '建设单位'
                },
                {
                    field : 'contitlelevelnum', 
                    title : '建设单位资质等级',
                    visible: false
                },
                {
                    field : 'conlegalpersonname', 
                    title : '建设单位负责人',
                    visible: false
                },
                {
                    field : 'conlinkphone', 
                    title : '建设单位联系电话',
                    visible: false
                },
                {
                    field : 'surveyunitid', 
                    title : '勘察单位标识符',
                    visible: false
                },
                {
                    field : 'surveyunit', 
                    title : '勘察单位'
                },
                {
                    field : 'surtitlelevelnum', 
                    title : '勘察单位资质等级',
                    visible: false
                },
                {
                    field : 'surlegalpersonname', 
                    title : '勘察单位负责人',
                    visible: false
                },
                {
                    field : 'surlinkphone', 
                    title : '勘察单位联系电话',
                    visible: false
                },
                {
                    field : 'designunitid', 
                    title : '设计单位标识符',
                    visible: false
                },
                {
                    field : 'designunit', 
                    title : '设计单位'
                },
                {
                    field : 'destitlelevelnum', 
                    title : '设计单位资质等级',
                    visible: false
                },
                {
                    field : 'desconlegalpersonname', 
                    title : '设计单位负责人',
                    visible: false
                },
                {
                    field : 'deslinkphone', 
                    title : '设计单位联系电话',
                    visible: false
                },
                {
                    field : 'constructionunitid', 
                    title : '施工单位标识符',
                    visible: false
                },
                {
                    field : 'constructionunit', 
                    title : '施工单位'
                },
                {
                    field : 'constructitlelevelnum', 
                    title : '施工单位资质等级',
                    visible: false
                },
                {
                    field : 'construclegalpersonname', 
                    title : '施工单位负责人',
                    visible: false
                },
                {
                    field : 'construclinkphone', 
                    title : '施工单位联系电话',
                    visible: false
                },
                {
                    field : 'supervisionunitid', 
                    title : '监理单位标识符',
                    visible: false
                },
                {
                    field : 'supervisionunit', 
                    title : '监理单位'
                },
                {
                    field : 'suptitlelevelnum', 
                    title : '监理单位资质等级',
                    visible: false
                },
                {
                    field : 'suplegalpersonname', 
                    title : '监理单位负责人',
                    visible: false
                },
                {
                    field : 'suplinkphone', 
                    title : '监理单位联系电话',
                    visible: false
                },
                {
                    field : 'supervisiondepart', 
                    title : '监督部门'
                },
                {
                    field : 'supervisiondepartid', 
                    title : '监督部门ID',
                    visible: false
                },
                {
                    field : 'titlelevelnum', 
                    title : '资质等级',
                    visible: false
                },
                {
                    field : 'legalpersonname', 
                    title : '负责人',
                    visible: false
                },
                {
                    field : 'linkphone', 
                    title : '联系电话',
                    visible: false
                },
                {
                    field : 'recordreason', 
                    title : '备案理由',
                    visible: false
                },
                {
                    field : 'recordnumber', 
                    title : '备案证号',
                    visible: false
                },
                {
                    field : 'createman', 
                    title : '创建人',
                    visible: false
                },
                {
                    field : 'createdate', 
                    title : '创建时间',
                    visible: false
                },
                {
                    field : 'lastmodifydate', 
                    title : '最后修改时间',
                    visible: false
                },
                {
                    field : 'reportman', 
                    title : '上报人',
                    visible: false
                },
                {
                    field : 'reportmanname', 
                    title : '上报人姓名',
                    visible: false
                },
                {
                    field : 'reporttime', 
                    title : '上报时间',
                    visible: false
                },
                {
                    field : 'acceptman', 
                    title : '受理人',
                    visible: false
                },
                {
                    field : 'acceptmanname', 
                    title : '受理人姓名',
                    visible: false
                },
                {
                    field : 'accepttime', 
                    title : '受理时间',
                    visible: false
                },
                {
                    field : 'authorizedman', 
                    title : '审定人',
                    visible: false
                },
                {
                    field : 'authorizedmanname', 
                    title : '审定人姓名',
                    visible: false
                },
                {
                    field : 'authorizeddate', 
                    title : '审定时间',
                    visible: false
                },
                {
                    field : 'flowguid', 
                    title : '流程Id',
                    visible: false
                },
                {
                    field : 'authorizedresult', 
                    title : '审定结果',
                    visible: false
                },
                {
                    field : 'xmlfilename', 
                    title : 'xml文件',
                    visible: false
                },
                {
                    field : 'wkffilename', 
                    title : 'wkf文件',
                    visible: false
                },
                {
                    field : 'actualdates', 
                    title : '实际工期',
                    visible: false
                },
                {
                    field : 'state', 
                    title : '审核状态',
                    visible: false
                },
                {
                    field : 'auditdate', 
                    title : '审核时间',
                    visible: false
                },
                {
                    field : 'inchargedepartment', 
                    title : '行政主管部门',
                    visible: false
                },
                {
                    field : 'inchargedepartmentguid', 
                    title : '行政主管部门标识符',
                    visible: false
                },
                {
                    field : 'projectperformance', 
                    title : '项目',
                    visible: false
                },
                {
                    field : 'bjid', 
                    title : '办件id',
                    visible: false
                },
                {
                    field : 'bjbh', 
                    title : '办件编号',
                    visible: false
                },
                {
                    title: '操作',
                    align: 'center',
                    formatter: function(value, row, index) {
                        var actions = [];
                        /* actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.guid + '\')"><i class="fa fa-edit"></i>编辑</a> ');
                        actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.guid + '\')"><i class="fa fa-remove"></i>删除</a>'); */
                        actions.push('<a class="btn btn-success btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="$.operate.detailFull(\'' + row.guid + '\')"><i class="fa fa-edit"></i>详情</a> ');
                        return actions.join('');
                    },
                }]
            };
            $.table.init(options);
        });
    </script>
</body>
</html>